/**  File: menu.h
 *   Author: Jaideep Balekar
 *           Department of Computer Science
 *           Texas A&M University
 *           315 - Programming Studio
 * Due Date: December 6th, 2009 @ 11:59
 * Contents: This class represents the menu screen which is the first screen to show up when the game is executed. 
 *			It gives the player three options - play, help, quit.
 */
 
#ifndef MENU_H
#define MENU_H

#include "game.h"
#include <QApplication>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QMessageBox>
#include <QPushButton>
#include <QGraphicsItem>

class Menu : public QGraphicsView
{
    Q_OBJECT

    public:
        QGraphicsScene* scene;
        Menu(QGraphicsScene* scene);
        QGraphicsScene topLevelScene;
        QGraphicsScene scene49;

        QPushButton *playButton;
        QPushButton *watchButton;
        QPushButton *helpButton;
        QPushButton *quitButton;
        QTimer *timer;
        int counter;

        Game *gameObject;

    public slots:
        void enterPlayState();
        void enterWatchState();
        void showHelp();
    };

#endif // MENU_H
